package dao;

import java.sql.SQLException;
import java.util.List;

import model.User;

public interface IUserDAO
{
    public void adduser(User user) throws SQLException;

    public void updateUser(User user) throws SQLException;

    public User getUserById(int id) throws SQLException;

    public List<User> getAllUsers() throws SQLException;

    public void deleteUser(User user) throws SQLException;
}
